<template>
  <div>考勤管理</div>
</template>

<script>
export default {
  name: 'AttendanceCom',
  data() {
    return {}
  },
  // 计算属性
  computed: {
    message() {
      return 'The webmaster said that you can not enter this page...'
    }
  },
  methods: {
    // 递归函数
    sum(arr) {
      if (arr.length === 0) {
        return 0
      }
      return arr[0] + this.sum(arr.slice(1))
    }
  }
}
</script>
